package com.work.shart.common.exception;

import lombok.Data;

@Data
public class BizException extends RuntimeException {

    private int code;

    public BizException(String mes) {
        super(mes);
    }

    public BizException(String mes, int code) {
        super(mes);
        this.code = code;
    }
}

